<!-- 库存管理 -->
<template>
	<view class="content">
		<view class="body">
			<view class="list" @click="toSched">
				<image src="../../static/image/Inventory/Sched.png" mode=""></image>
				<view class="span">
					调度记录
				</view>
			</view>
			<view class="list" @click="toWaring">
				<image src="../../static/image/Inventory/Waring.png" mode=""></image>
				<view class="span">
					库存预警
				</view>
				<!-- <u-badge type="error" count="7" :is-dot="true" offset="[0,0]"></u-badge> -->
			</view>
		</view>
		<view class="body">
			<view class="list" @click="toChecking">
				<image src="../../static/image/Inventory/Checking.png" mode=""></image>
				<view class="span">
					库存盘点
				</view>
			</view>
			<view class="list" @click="toStatistics">
				<image src="../../static/image/Inventory/statistics.png" mode=""></image>
				<view class="span">
					库存统计
				</view>
			</view>
		</view>
		<view class="body">
			<view class="list" @click="toWareindex">
				<image src="../../static/image/Inventory/Warehouse.png" mode=""></image>
				<view class="span">
					仓库信息
				</view>
			</view>
			<view class="list" @click="toConsume">
				<image src="../../static/image/Inventory/Report.png" mode=""></image>
				<view class="span">
					报损
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				offset:'[-140,100]'
			}
		},
		onLoad() {

		},
		methods: {
			//跳转调度记录
			toSched:function(){
				uni.navigateTo({
					url:'./schedulingRecord/recordSheet'
				})
			},
			//跳转仓库信息
			toWareindex:function(){
				uni.navigateTo({
					url:'warehouseInformation/warehouseIndex'
				})
			},
			//跳转库存盘点
			toChecking:function(){
				uni.navigateTo({
					url:'inventoryChecking/checkingIndex'
				})
			},
			// 挑战库存预警
			toWaring:function(){
				uni.navigateTo({
					url:'./InventoryWarning/Warning'
				})
			},
			//跳转库存统计
			toStatistics:function(){
				uni.navigateTo({
					url:'./InventoryStatistics/statisticsIndex'
				})
			},
			//跳转报损
			toConsume:function(){
				uni.navigateTo({
					url:'./Consume/consumeIndex'
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.content {
		width: 750rpx;
		height: auto;

		.body {
			display: flex;
			justify-content: space-around;

			.list {
				width: 120rpx;
				// margin-top: 72rpx;
				margin:72rpx auto 0;
				position: relative;
				image {
					width: 120rpx;
					height: 120rpx;
					
				}

				.span {
					margin-top: 28rpx;
					color: rgba(80, 80, 80, 1);
					font-size: 28rpx;
					line-height: 150%;
					text-align: center;
				}
			}
		}


	}
</style>
